<?php
/**
 * @return
 * @author 朱乐斌
 * @date
 */

namespace app\api\controller;


use app\api\model\WebDispositionModel;
use app\BaseController;
use think\Exception;

class WebDisposition extends BaseController
{

    // 获取网站基本信息（logo，底部二维码）
    public function webList()
    {
        try {
            $model = new WebDispositionModel();

            $data = $model->field('id,image,desc')
                ->where('status', 1)
                ->select()
                ->toArray();
            $this->success('成功', $data);
        } catch (Exception $e) {
            $this->error('获取失败', $e->getMessage());
        }


    }

}